<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="WEB-INF/pager-taglib.tld" prefix="pg" %>

<%
String path = request.getContextPath();
String newPath="";
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+newPath+"/";
%>

    
  <html xmlns="http://www.w3.org/1999/xhtml">
<head>
		<base href="<%=basePath%>" />
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="css/magic-bootstrap.css" rel="stylesheet"></link>
		<link href="css/styles.css" rel="stylesheet"></link>
		<link href="css/div.css" rel="stylesheet" type="text/css"></link>
		<link href="css/u4.css" rel="stylesheet" type="text/css"></link>
		
		<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
		<script type="text/javascript" src="js/lavalamp.js"></script>
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/bootstrap-dropdown.js"></script>
		<script type="text/javascript" src="js/bootstrap-collapse.js"></script>
		<script type="text/javascript" src="js/bootstrap-tab.js"></script>
	
		<script type="text/javascript" src="js/bootstrap-carousel.js"></script>
		

	</head>

<!-- Navigation -->

<%@ include file="header.jsp" %> <!--  导航条 -->

<!-- end of Navigation -->



<div class="main">

<div class="container-fluid">

<%@ include file="searchLine.jsp" %> <!--  搜索框 -->


    
<div class="row-fluid">	

<!--  Left ------------------------------------------------------------------------------------------------------------------------ -->
	<div class="span3">	
		<%@ include file="left.jsp" %>	<!-- 左边的商品分类和最热商品-->
	</div>
<!--  end of left ------------------------------------------------------------------------------------------------------------------------ -->
	
<!-- Right ------------------------------------------------------------------ -->
<div class="span9">
	
		
		<div class="row"> <!-- 书籍区row -->
			<div class="newlist">
	
	        <fieldset style="margin-left: 50px">
            <legend>商品信息</legend>
                <div style="float: left;width: 220px;height: 220px">
                    <img id="bigImg" src="pic/<s:property value='#request.goods.pic'/>" alt="商品图片">
                </div>
                <div style="line-height:35px;margin-left:50px;float: left;word-break: break-all;width: 420px;height:150px;border-style:solid;border-width:0px;border-color: #000000">
               		<div id="titleBig">
               		 <s:property value="#request.goods.name"/>
               		</div><br/>
                 	<div id="priceLine">价格：                 			
                 	</div>
                 	<div id="redPrice">
                 				￥<s:property value="#request.goods.price"/>
                 	</div>
                 	<br/>
                 			
               <s:if test="#goods.type==1">							
                 	<div class="preprice" id="oldpriceInfoLine">
                 		原价：</div>
                 		<div id="oldpriceInfo">
                 			￥<s:property value="#request.goods.oldPrice"/>
                 		</div>
                 		<br/>
                </s:if>	
                 	<div class="place">交易地点：<s:property value="#request.goods.place"/><br/></div>
                 	发布日期：<s:date name="#request.goods.publishTime" format="yyyy-MM-dd hh:mm"/><br/>
                 	联系人：<s:property value="#request.goods.contactName"/><br/>
                 	<div id="phoneInfoLine">联系电话：</div><div id="phoneInfo"><s:property value="#request.goods.user.phone"/></div><br/>
                 	<hr/>  
                 	
                 
				 </div>

        </fieldset>
        <div style="margin-top:50px;margin-left:50px;word-break: break-all;width: 620px;height:auto;border-style:solid;border-width:0px;border-color: #000000">
       			<div id="introductionLine">简介：</div><br/><s:property value="#request.goods.describe"/>
        </div>
        <button type="submit" class="btn btn-info" style="margin-left: 550px;margin-top: 20px" onclick="alert('请稍等，功能正在开发！^.^')">我要举报</button>
        
	
	
	</div> 
						
		
		</div><!-- 书籍区row -->
		
				
	</div><!-- end of Right --------------------------------------------------------------->
 </div>

</div><!--container-->
</div>

</html>


